import axios from "./axios";
import { PhoneList,countList } from "../type/api/index";

export function getIPhoneList(data: object = {}) {
    return axios<PhoneList>({
        url: "Goods/getGoodsList",
        method: "POST",
        data,
    })
}
export function getCounts(data: object = {}) {
    return axios<countList>({
        url: "Help/getWebCounts1",
        method: "POST",
        data,
    })
}
export function shopApply(data: object = {}) {
    return axios<countList>({
        url: "Shop/shopApply",
        method: "POST",
        data,
    })
}